﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Composite_Pattern
{
    class Program
    {
        static void Main(string[] args)
        {
            SongComponent industrialMusic = new SongGroup("Industrial", "Industrial muziek.. hmm okay...");
            SongComponent heavyMetalMusic = new SongGroup("Heavy Metal", "Vreselijke Heavy Metal");
            SongComponent dubstepMusic = new SongGroup("Dubstep", "Leuke Dubstep muziek");

            SongComponent everySong = new SongGroup("Song list", "Every song available");

            everySong.add(industrialMusic);
            everySong.add(heavyMetalMusic);

            industrialMusic.add(new Song("Head Like a hole", "NIN", 1990));
            industrialMusic.add(new Song("Headhunter", "Front 242", 1988));

            industrialMusic.add(dubstepMusic);

            dubstepMusic.add(new Song("Centipede", "Knife Party", 2012));
            dubstepMusic.add(new Song("tetris", "Doctor P", 2011));

            heavyMetalMusic.add(new Song("War Pigs", "Black Sabath", 1970));
            heavyMetalMusic.add(new Song("Ace of Spades", "Motorhead", 1980));

            DiscJockey dj = new DiscJockey(everySong);

            dj.getSongList();

        }
    }
}
